package com.schoolET.service.admin;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.schoolET.entity.Wechat;
import com.schoolET.entity.dto.WechatInfoDTO;
import com.schoolET.entity.vo.WechatInquireVO;

/**
 * <p>
 * 微信用户 服务类
 * </p>
 *
 * @author lin
 * @since 2024-06-04
 */
public interface IWechatService extends IService<Wechat> {

    /**
     * @description: 根据条件查询用户信息，分页
     * @author: lin
     * @date: 2024/6/4 15:50
     * @param: wechatInquireVO
     * @return: Page<WechatInfoDTO>
     **/
    Page<WechatInfoDTO> inquireWechat(WechatInquireVO wechatInquireVO);

    /**
     * @description: 根据openId查询用户信息
     * @author: le
     * @date: 2024/6/6 21:48
     * @param openId
     * @return Wechat
     */
    Wechat selectWechatByOpenId(String openId);
}
